/*
 * StatusEvent.java
 *
 * Created on 10 październik 2007, 20:11
 *
 */

package kosciak.blip4j.automation;

import kosciak.blip4j.*;

/**
 * <CODE>StatusEvent</CODE> represents an incomming Status Event.
 * @author Wojtek 'KosciaK' Pietrzok
 * @since 0.1
 */
public class StatusEvent extends UpdateEvent{
    
    private Status status;
    
    /** Creates a new instance of StatusEvent 
     * @param source a source of the Event
     * @param client a BlipClient used by the UpdateChecker
     * @param status a Status
     */
    public StatusEvent(Object source, BlipClient client, Status status) {
        super(source, client);
        this.status = status;
    }

    /**
     * Gets incoming Status
     * @return an incoming Status
     */
    public Status getStatus() {
        return status;
    }
    
}
